package net.plankton.rules.entities;

import org.w3c.dom.Element;

import biz.hammurapi.xml.dom.DomSerializable;

public class Person implements DomSerializable{

	private boolean isMale;
	private int serialNo;
	private static int counter=0;
	
	public Person(boolean isMale) {
		this.isMale=isMale;
		synchronized (Person.class) {
			serialNo=++counter;
		}
	}
	
	/**
	 * @return the isMale
	 */
	public boolean isMale() {
		return isMale;
	}

	public void toDom(Element arg0) {
		// TODO Auto-generated method stub
		
	}

}
